package com.example.hotel.admin.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class PageResult {
	private Long total;
	private List<Hotel> hotels;

	public  PageResult(Long total,List<Hotel> hotels){
		this.total=total;
		this.hotels=hotels;
	}
}
